/*
 * @Author: wangjunwj wangjunwj@dinglicom.com
 * @Date: 2025-03-31 09:04:02
 * @LastEditors: wangjunwj wangjunwj@dinglicom.com
 * @LastEditTime: 2025-04-03 13:07:10
 * @FilePath: /leosmart/src/config/config.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
// env.js
export const VITE_OAUTH2_MOBILE_CLIENT = 'app:app';
export const VITE_PWD_ENC_KEY = 'thanks,tsc2cloud';
export const AMAP_IOS_KEY = '24f5d1a32ef9308b89ee7ba234c2d9a6';
export const AMAP_ANDROID_KEY = 'eab930899478d9be0431dc790945eaa6';
export const AMAP_WEB_KEY = '5bd20fa96760c7d0b7f5344d758de1d1';
export const GOOGLE_MAP_KEY = 'AIzaSyDaejHMoIme2WQCDhkRt9I2rRbo8UWRnO8';
export const APP_ENVIRONMENT_KEY = 'TSUN_PRO_APP_ENVIRONMENT';

export const TSUN_BLE_CRYPTO_KEYS = [
  'd16668705f54720df713c5da3d470a48',
  '8fdd5bfb67d677fb4d0c5d18e00578fe',
  '96c2a65eb1cd157a8200ecbf58cfc839',
  'ca4dba3bd38b441e75d658d92258d3ca',
  'aab05c31f62ff44d4ce08ff841319d8f',
  '8e6d1eeafc737165924f03aa0e544401',
  'd459dd08ae3707f8745763d1da175ad0',
  'bf8e8d3e9327bce2133f65e879e2a1df',
  '887ef173831c2c242716cef6ddefb668',
  '6c8b76e5e9932926cb11affa2387758b'
]

// 应用设置
export const APP_SETTINGS = {
  // 应用版本
  version: '1.0.0',

  // 本地存储键
  storage: {
    token: 'auth_token',
    refreshToken: 'refresh_token',
    user: 'user_info',
    language: 'language',
    theme: 'theme',
  },

  // 请求超时时间（毫秒）
  requestTimeout: 10000,

  // 默认语言
  defaultLanguage: 'zh-CN',

  // 支持的语言
  supportedLanguages: [
    {label: '中文', value: 'zh-CN'},
    {label: 'English', value: 'en-US'},
    {label: 'Deutsch', value: 'de-DE'},
  ],

  // 默认主题
  defaultTheme: 'light',

  // 支持的主题
  supportedThemes: ['light', 'dark'],
};

export default APP_SETTINGS;
